import $http from '@/request/request'
//点赞
export const addLive = (parmas) => {
  return $http.post("/business/business/like/add", parmas)
}
//取消点赞
export const removeLive = (parmas) => {
  return $http.post("/business/business/like/delete", parmas)
}

//评论
export const AddComment = (parmas) => {
  return $http.post("/business/business/comment/add", parmas)
}
//删除评论
export const removeComment = (id) => {
  return $http.post(`/business/business/comment/${id}`)
}

//关注 
export const AddFollow = (userId) => {
  return $http.post(`/user/user/relation/${userId}`)
}
//取消关注 
export const removeFollow = (userId) => {
  return $http.post(`/user/user/relation/${userId}`)
}